﻿using AppManager.Model;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Data.Entity.ModelConfiguration.Configuration;
using System.Linq;
using System.Runtime.Remoting.Messaging;
using System.Text;
using AppManager.IDAL;

namespace AppManager.DAL
{
    /// <summary>
    /// 注册模型
    /// </summary>
    public class ModelRegister
    {
        internal static void Regist(DbModelBuilder mb)
        {
            mb.Entity<Sys_User>();
            mb.Entity<Sys_Menu>();
            mb.Entity<Sys_Role>();
            mb.Entity<App>();
            mb.Entity<AppInfo>();
        }
    }
}
